﻿using System;
using System.Collections.Generic;
using System.Text;

namespace SX.ProductService.Service
{
    public class PermissionAddModel
    {
        public string Id { get; set; }
        /// <summary>
        /// Desc:名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:唯一编码
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:菜单路径( 接口不需要设置此值)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Path { get; set; }

        /// <summary>
        /// Desc:图标
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Icon { get; set; }

        /// <summary>
        /// Desc:排序
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Sort { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:True
        /// </summary>           
        public DateTime? CreateTime { get; set; }

        /// <summary>
        /// Desc:(0 菜单 1接口)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Type { get; set; }


        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string Remarks { get; set; }

        /// <summary>
        /// Desc:(0未启用 1启用)
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? Enabled { get; set; }

        /// <summary>
        /// Desc:上一级id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string ParentId { get; set; }


        public int Platform { get; set; }

    }
}
